View GDB's version number (1) rpm-q gdb will show if GDB is installed and the version number (2) GDB--version can also
Breakpoint
b Main; b 20;
Set breakpoints
Breakpoint If
Break function name, number if
Case DescriptionDuring the running of the scheduled script, it is found that when the SQL statement for backing up the table and the SQL statement for deleting some data in the table run simultaneously, mysql will detect the deadlock and print the
Case DescriptionDuring the running of the scheduled script, it is found that when the SQL statement for backing up the table and the SQL statement for deleting some data in the table run simultaneously, mysql will detect the deadlock and print the
Case descriptionDuring a timed script run, it is found that when the SQL statement of the backup table runs concurrently with the SQL statement that deletes the data in the table, MySQL detects the deadlock and prints out the log.Two SQL statements
found that when the SQL statement of the backup table runs at the same time as the SQL statement that deletes part of the data from the table, MySQL detects the deadlock and prints out the logCase descriptionDuring a timed script run, MySQL detects
Case descriptionDuring a timed script run, MySQL detects a deadlock and prints out a log when the SQL statement that backs up the table runs concurrently with the SQL statement that deletes the data from the table.The two SQL statements are as
MySQL hangs the Debugs1. Attaching to MySQL[Email protected]: gdb-p 12321232 is the PID of MySQL2. Show current thread(GDB) Info threads3. Show backtracking for all threads(GDB) thread apply all BTMySQL BINARYMysql> SELECT * from tbl_4;+----+-------+
Debug PDBThe PDB is a command-line-based debugging tool, very similar to the GNU GDB (Debug/C + +).
Command
Shorthand Command
function
Break
B
Set breakpoints
Continue
C
After successfully porting Berkeley dB to uClinux a few days ago, although it works properly, the file is still too large. Today, let's try a slightly smaller version called SQLite. SQLite implements most sql92 standard SQL statements and supports
SQLite implements most sql92 standard SQL statements and supports acid. There are many other features that should be used in the embedded field.
Download:Download Page: http://www.sqlite.org/download.htmlI am still using the latest version: sqlite-3.
The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion;
products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the
content of the page makes you feel confusing, please write us an email, we will handle the problem
within 5 days after receiving your email.
If you find any instances of plagiarism from the community, please send an email to:
info-contact@alibabacloud.com
and provide relevant evidence. A staff member will contact you within 5 working days.